/*
 * @Author: Karl Liris
 * @Date: 2021-02-26 10:01:48
 * @LastEditTime: 2021-02-26 10:32:32
 */
import Vue from 'vue';
import VueRouter from 'vue-router';
import Index from '../views/Index.vue';
import Login from '../views/Login.vue';

Vue.use(VueRouter);

const routes = [{
  path: '/',
  name: 'Index',
  component: Index,
}, {
  path: '/login',
  name: 'Login',
  component: Login,
}];

const router = new VueRouter({
  routes,
});

export default router;
